import service from "@/api/index";
//比赛项目场次接口
const EVENTS_SESSION = "/api/EventsSession/";
export default {
	GetEventsSessionListApi: (projectId: string) => {
		//获取项目场次列表
		return service.post(`${EVENTS_SESSION}GetEventsSessionList`, {
			projectId
		});
	},
	AddEventsSessionInfoApi: (data: any) => {
		//新增项目场次
		return service.post(`${EVENTS_SESSION}AddEventsSessionInfo`, data);
	},
	UpdteEventsSessionInfoApi: (data: any) => {
		//更改项目场次
		return service.post(`${EVENTS_SESSION}UpdteEventsSessionInfo`, data);
	},
	DeleteEventsSessionInfoApi: (data: any) => {
		//删除项目场次
		return service.post(`${EVENTS_SESSION}DeleteEventsSessionInfo`, data);
	}
};
